import "./BottomPage.css";

import { Component } from "react";
import { Col, Row } from "antd";

export default class BottomPage extends Component {
	companyNameClick(e) {
		window.open("https://beian.miit.gov.cn/");
	}
	render() {
		const beian_code = "京ICP备2021000881号-1";
		const company_name = "Powered by 何冬冬";
		return (
			<Row className="BottomPage">
				<Col span="24">
					<span>{beian_code}</span>
					<span type="link" onClick={this.companyNameClick.bind(this)}>
						{company_name}
					</span>
				</Col>
			</Row>
		);
	}
}
